package com.cetc.sdp.kmga.cs.util;

import java.util.Map;

/**
 * @description:
 * @author： DengQiang
 * @date: 2018/3/8 16:50
 */
public interface WorkConf {

    Map<String, String> getSparkConf();

    void addConf(String key, String val);

    /**
     * batch duration
     * @return the seconds of duration
     */
    int getDuration();


    void setDuration(int duration);

    void setApplicationName(String name);

    String getApplicationName();
}
